/* 用于封装共用css文件 */
html,
body {
  width: 100%;
  height: 100%;
}

body {
  padding: 0;
  margin: 0;
  /* font-family: PingFangSC-Regular; */
  font-family: PingFang-SC-Medium, PingFang-SC !important;
  font-size: 14px;
}
.w1200 {
  width: 1200px !important;
  margin: 0 auto !important;
}
span {
  vertical-align: middle;
}
img {
  vertical-align: middle;
}
i {
  font-style: normal;
}

td {
  vertical-align: middle;
}

body, h1, h2, h3, h4, h5, h6, ul, dl, dt, dd, p, input {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

li {
  list-style: none;
}

a {
  /* color: #333; */
  text-decoration: none;
}

/* 不需要border-radius 属性  通过class="borderRadius" 修改，后续根据不同功能添加 */
.borderRadius .ant-select-selection, .borderRadius .ant-input, .borderRadius .ant-btn, .borderRadius .ant-input-number {
  border-radius: 0px !important;
}

/* 屏幕的百分比布局 */
.w10 {
  width: 10%;
}

.w20 {
  width: 20%;
}

.w30 {
  width: 30%;
}

.w40 {
  width: 40%;
}

.w50 {
  width: 50%;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

.w100 {
  width: 100%;
}

.w1200 {
  /* width: 1200px; */
  /* margin: 0 auto; */
}

.MT10 {
  margin-top: 10px;
}
.MT5 {
  margin-top: 5px;
}
.ML10{
  margin-left: 10px;
}
.MT20 {
  margin-top: 20px;
}

.MB20 {
  margin-bottom: 20px;
}

.PB20 {
  padding-bottom: 20px;
}

.mainColor {
  color: #3370FF;
}
/* 固定顶部title文字样式 */
.fixBoxCommen {
  border-bottom: 1px dashed #ccc;
  height: 56px;
  line-height: 56px;
  background: #fff;
  padding: 0 14px;
  box-shadow: 10px 21px 14px -18px #afafaf69;
}

.fixBoxCommen .tittle-head {
  font-size: 20px;
  font-weight: bold;
}

.topBtnAll {
  text-align: right;
}

.cancel-btn {
  background: #8c8c8c;
  border: #8c8c8c;
}

.input-w100 {
  width: 100% !important;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clears {
  clear: both;
}

.flex {
  display: flex;
}

/* 超出2行字自动省略号隐藏 */
.textEllipsis {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card {
  background: white;
  border-radius: 4px;
  margin: 6px 16px;
  padding: 16px;
}

/* 文本居中 */
.centerSize {
  text-align: center;
}

.backWhite {
  background: rgba(240, 242, 245, 1);
  padding-bottom: 20px;
  min-height: 100%;
}

.purchasingCenterBox {
  padding: 16px 0;
}

.change-cardP .ant-card-body {
  padding: 14px;
}

.change-cardP .ant-card-head {
  padding: 0 0px 0 0px;
}

/* 采购中心首页轮播图 */
.cardSlideshow .slick-dots-ul {
  margin-bottom: 270px !important;
  margin-left: 430px !important;
  width: 120px !important;
}

.cardSlideshow .slick-dots-ul li {
  width: 10px;
  height: 10px;
  background: #ccc;
}

.cardSlideshow .slick-dots-ul .slick-active {
  background: rgba(54, 207, 201, 1);
}

.cardSlideshow .ant-carousel .slick-dots li button {
  display: none;
}

.cardSlideshow .commoditySearch {
  margin-top: 24px;
}

.area .ant-cascader-input.ant-input::placeholder {
  color: rgba(0, 0, 0, 0.65);
}

.cardSlideshow .slick-dots-ul-hot .slick-active {
  background: rgba(250, 173, 20, 1);
}

.commodityListBox .ant-table-thead > tr > th {
  color: #323232;
  text-align: center;
}

.cancel-btn {
  background: #8c8c8c;
  border: #8c8c8c;
}

/* 表格样式 */
.messageTable {
  width: 100%;
  margin: 0 auto;
}

.messageTable td {
  border-width: 1px;
  padding: 6px 12px;
  border-style: solid;
  border-color: #ececec;
  text-align: center;
  /* width: 360px; */
}

.messageTable .title-td {
  width: 180px;
  background: #fafafa;
}

/* 表格样式结束 */


.clickloading {
  border: 2px solid #f3f4f7;
  border-radius: 50%;
  border-top: 3px solid #b1c1cc;
  width: 15px;
  height: 15px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  margin-right: 3px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.clickloading {
  border: 2px solid #f3f4f7;
  border-radius: 50%;
  border-top: 3px solid #b1c1cc;
  width: 15px;
  height: 15px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  margin-right: 3px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#tebleData .ant-empty {
  margin-top: 10%;
  margin-bottom: 10%;
}

.TAR {
  text-align: right;
}

.singleLineText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/**
分页
 */
.pagination-box {
  margin: 20px 0;
  padding-left: 10px;
}

.pagination-box .pagination-r {
  text-align: right;
}

/**
超出两行省略
 */
.more-t {
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card {
  background: white;
  border-radius: 4px;
  margin: 16px;
  padding: 16px;
}
